import request from '@/utils/request'

// 查询试剂定标记录列表
export function listCalibrationData(query) {
  return request({
    url: '/instrument/calibrationData/list',
    method: 'get',
    params: query
  })
}

// 查询试剂定标记录详细
export function getCalibrationData(id) {
  return request({
    url: '/instrument/calibrationData/' + id,
    method: 'get'
  })
}

// 新增试剂定标记录
export function addCalibrationData(data) {
  return request({
    url: '/instrument/calibrationData',
    method: 'post',
    data: data
  })
}

// 修改试剂定标记录
export function updateCalibrationData(data) {
  return request({
    url: '/instrument/calibrationData',
    method: 'put',
    data: data
  })
}

// 删除试剂定标记录
export function delCalibrationData(id) {
  return request({
    url: '/instrument/calibrationData/' + id,
    method: 'delete'
  })
}

// 导出试剂定标记录
export function exportCalibrationData(query) {
  return request({
    url: '/instrument/calibrationData/export',
    method: 'get',
    params: query
  })
}